Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@webex/rtcstats
Advanced tools
Low-level logging on peerconnection API calls and periodic getStats calls for analytics/debugging purposes
Low-level logging on peerconnection API calls and periodic getStats calls for analytics/debugging purposes
Note: This is a fork of https://github.com/fippo/rtcstats configured for typescript. It no longer wraps WebRTC methods but instead takes in and logs stats from a
RTCPeerConnection
argument.
import { rtcStats } from 'rtcstats';
const pc = new RTCPeerConnection();
// log peerconnection events with `console.log`, also calls `pc`'s `.getStats()` every 5 seconds.
rtcStats(pc, console.log, 5000);
Install Depencies and run yarn build
, output will be in the local dist/
folder.
yarn
yarn build
You may take the typescript file rtcstats.ts
and drop it in your project.
import { rtcStats } from './my-project-utils/rtcstats';
FAQs
Low-level logging on peerconnection API calls and periodic getStats calls for analytics/debugging purposes
The npm package @webex/rtcstats receives a total of 1,005 weekly downloads. As such, @webex/rtcstats popularity was classified as popular.
We found that @webex/rtcstats demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.